/**
 * author:Administrator
 * date:2016/1/4
 * desc:TODO
 */

'use strict';

var mongoose = require('../conn/mongoose.js');
/* order 只允许pay一次 */
var modelName='_test_order';
var model = new mongoose.Schema({
  oid:{type:Number,default:0},            /* order id */
  state:{type:String}                     /* 状态 unpay, paying, paid */
});

module.exports = mongoose.model(modelName, model);